/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tmp.ac.engin.Taskes;

import tmp.ac.lib.tools.DBClass;
import javax.swing.SwingWorker;

/**
 *
 * @author ismail
 */
public class insetTask extends SwingWorker {

    DBClass db = new DBClass();
    private String data[][];
    private String Tabel;

    public insetTask(String tabel) {
        this.data = data;
        this.Tabel = tabel;

    }

    @Override
    protected Object doInBackground() throws Exception {
        db.setInsert(Tabel, data);
        return null;
    }
}